package com.ruoyi.common.core.config;


import com.ruoyi.common.core.constant.RongYunConstants;
import io.rong.RongCloud;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author xsj
 * @create 2023-06-29 13:49
 */
@Configuration
public class RongConfig {

    @Bean
    public RongCloud getInstance() {
        return RongCloud.getInstance(RongYunConstants.App_Key, RongYunConstants.App_Secret);
    }
}
